#ifndef DIALOG_PLUGIN_H
#define DIALOG_PLUGIN_H

#include "qlistwidget.h"
#include <DefineLibUiQt.h>
#include <QString>
#include <QtWidgets/QWidget>
#include <QtWidgets/QDialog>

namespace Ui {
class DialogPlugin;
}

class LIB_UI_QT_DLL DialogPlugin : public QDialog
{
    Q_OBJECT

public:
    explicit DialogPlugin(QWidget *parent = nullptr);
    ~DialogPlugin();
    
    void updateFromPluginLoader();    

public slots:
    void slotButtonOk(bool value);
    void slotButtonCancel(bool value);
    void slotListCurrentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);


private:
    Ui::DialogPlugin *ui;
    
};

#endif // DIALOG_PLUGIN_H
